/*
	先暂不显式使用router中间件
	
*/

var express = require('express');
var app = express();

app.use(function(req, res, next){
	console.log("foo");
	next();
});


app.use(function(req, res, next){
	console.log("bar");
	next();
});


app.get('/', function(req, res, next){
	res.send('hoge');
	console.log('res.send(\'hoge\')');
});


app.listen(1337, 'localhost');